/**
 * jims
 */
package com.jims.master.modules.oper.entity;

import com.jims.master.common.persistence.DataEntity;
import com.jims.master.modules.sys.entity.OrgDept;
import org.hibernate.validator.constraints.Length;

/**
 * 诊疗项目Entity
 * @author 赵宁
 * @version 2017-02-23
 */
public class ClinicItemDict extends DataEntity<ClinicItemDict> {
	
	private static final long serialVersionUID = 1L;
	private String itemClass;		// 诊疗项目分类
	private String itemCode;		// 诊疗代码
	private String itemName;		// 诊疗项目名称
	private OrgDept orgDept;		// 执行科室
	private String inputCode;		// 拼音码
	private String expand1;		// 扩展字段1
	private String expand2;		// 扩展字段2
	private String expand3;		// 扩展字段3
	private String expand4;		// 扩展字段4
	private String expand5;		// 扩展字段5

    private Double price; //总价
    private Double preferPrice; //优惠价格
	private String performedBy;
	
	public ClinicItemDict() {
		super();
	}

	public ClinicItemDict(String id){
		super(id);
	}

	@Length(min=1, max=10, message="诊疗项目分类长度必须介于 1 和 10 之间")
	public String getItemClass() {
		return itemClass;
	}

	public void setItemClass(String itemClass) {
		this.itemClass = itemClass;
	}
	
	@Length(min=1, max=50, message="诊疗代码长度必须介于 1 和 50 之间")
	public String getItemCode() {
		return itemCode;
	}

	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}
	
	@Length(min=1, max=200, message="诊疗项目名称长度必须介于 1 和 200 之间")
	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	@Length(min=0, max=100, message="执行科室长度必须介于 0 和 100 之间")
	public OrgDept getOrgDept() {
		return orgDept;
	}

	public void setOrgDept(OrgDept orgDept) {
		this.orgDept = orgDept;
	}
	@Length(min=0, max=50, message="拼音码长度必须介于 0 和 50 之间")
	public String getInputCode() {
		return inputCode;
	}

	public void setInputCode(String inputCode) {
		this.inputCode = inputCode;
	}

	
	@Length(min=0, max=500, message="扩展字段1长度必须介于 0 和 500 之间")
	public String getExpand1() {
		return expand1;
	}

	public void setExpand1(String expand1) {
		this.expand1 = expand1;
	}
	
	@Length(min=0, max=500, message="扩展字段2长度必须介于 0 和 500 之间")
	public String getExpand2() {
		return expand2;
	}

	public void setExpand2(String expand2) {
		this.expand2 = expand2;
	}
	
	@Length(min=0, max=500, message="扩展字段3长度必须介于 0 和 500 之间")
	public String getExpand3() {
		return expand3;
	}

	public void setExpand3(String expand3) {
		this.expand3 = expand3;
	}
	
	@Length(min=0, max=500, message="扩展字段4长度必须介于 0 和 500 之间")
	public String getExpand4() {
		return expand4;
	}

	public void setExpand4(String expand4) {
		this.expand4 = expand4;
	}
	
	@Length(min=0, max=500, message="扩展字段5长度必须介于 0 和 500 之间")
	public String getExpand5() {
		return expand5;
	}

	public void setExpand5(String expand5) {
		this.expand5 = expand5;
	}

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Double getPreferPrice() {
        return preferPrice;
    }

    public void setPreferPrice(Double preferPrice) {
        this.preferPrice = preferPrice;
    }

	public String getPerformedBy() {
		return performedBy;
	}

	public void setPerformedBy(String performedBy) {
		this.performedBy = performedBy;
	}
}